home *** CD-ROM | disk | FTP | other *** search
- FORDSK 1.10
- Copyright (c) 1987 Eric Tauck
- All Rights Reserved
-
- FORDSK is a program that uses the routines in the ROM BIOS to format 5 1/4"
- 360K floppy diskettes on the IBM PC and compatibles. Note that hard disks
- cannot be formatted, accidentally or otherwise. Many options are provided to
- do fast formats and produce unusual (aka incompatible) disk layouts. FORDSK
- cannot write the system files or volume labels.
-
- FORDSK is run by typing:
-
- FORDSK [d:] [d:] [switches]
-
- One or two drive specifiers may be present. If two drive specifiers are
- entered, the format operation will be carried out twice, starting with the
- first drive and continuing with the second. The switches control the
- formatting operation and the layout of the disk. The switches, grouped by
- function, are:
-
- Type of format:
-
- /1 Single sided. Causes only one side of the disk to be formatted. Only
- half of the total disk capacity is available. Compatible with all
- versions of DOS.
-
- /8 8 sector, DOS 1.x format. Produces disks that are compatible with
- versions of DOS prior to 2.0. Versions of DOS prior to 1.1 must also
- be formatted on only one side (use the /1 switch).
-
- /r Recycle disk. Clears and rewrites the boot sector, FAT, and root
- directory, but does not format the disk. Since the directory is
- cleared, any files on the disk will be lost. Since the FAT is
- cleared, the location of any bad sectors will be lost. The verify
- switch (/v) switch may be used to verify the disk and lock out any bad
- sectors. Note: the disk must be already formatted to use this option.
-
- Options:
-
- /b Beep when done. Causes the program to beep when a disk is finished.
-
- /e Entire tracks marked bad. When a bad sector is found, all other
- sectors on that track will be marked bad in the FAT. This switch
- will, in most instances, lock out more disk space than necessary, but
- might be safer (if bad sectors tend to corrupt adjoining sectors on
- the same track). The PC DOS 3.2 format program does it this way.
-
- /m Multiple disks indefinitely. Causes the program continuously format
- disks. Can only be stopped by an error or keyboard BREAK.
-
- /m# Multiple disks for count. Causes the program to format a specified
- number of disks.
-
- /p Pause before each disk. Causes the program to prompt the user and
- wait for a key before starting on a disk. If this switch is not used,
- processing will start immediately.
-
- /v Verify disk. Verifies all sectors on the disk. If a bad sector is
- found, its cluster will be marked as bad in the FAT. The /e option
- indicates whether single sectors or entire tracks should be marked as
- bad.
-
- Disk Layout:
-
- /c# Cluster size in sectors. Default is 2 sectors per cluster. DOS will
- not accept any value other than 2.
-
- /d# Directory entries. Default varies on the type of format, for double
- sided / 9 sector disks the default is 112. DOS might accept other
- values.
-
- /f# FAT's per disk. Default is 2. DOS will not accept any value other
- than 2.
-
- /h# Hidden sectors per disk. Default is 0. DOS will not recognize hidden
- sectors.
-
- /s# Sectors per track. Default is 9. DOS will accept 8 or 9. BIOS can
- format with fewer, but I don't think it can properly format with more
- than 9.
-
- /t# Tracks per disk. Default is 40. DOS might accept more or less. BIOS
- can format less and might be able to format a few more than 40
-
- /u Use system parameters. Causes the program to read the number of
- sectors/track and bytes/sector from the disk base pointer (interrupt
- 1E). This is not usually a good idea, because my experience is that
- DOS changes that information whenever it accesses a new disk type,
- thus the information may not be valid.
-
- Though all the disk layout information is written to the disk, there is no
- guarantee that DOS will be able to read non-standard disks. Any deviation
- from the standard layout is very likely to produce unreadable disks.
-
- Examples of command line specifications:
-
- FORDSK
- Formats the diskette in the default drive after prompting the user and
- waiting for a key (/p is implicit if no drives or options are specified).
-
- FORDSK ?
- Display all the command syntax and a listing of the switches. No
- formatting occurs.
-
- FORDSK a: /v
- Formats and verifies the diskette in drive A: immediately.
-
- FORDSK b: a: /8 /1 /p
- Formats the diskette in drive B: and then the diskette in drive A:, after
- prompting the user and waiting for a key to be pressed. Both disks will
- be 1 sided, 8 sector, DOS 1.0 compatible.
-
- FORDSK a: b: /m10
- Formats the diskettes in drive A: and B:, alternating between the two and
- starting with drive A:. All formatting starts immediately without pausing
- or waiting for the user. This is a particularly useful combination of
- options, because you can be inserting an unformatted disk in one drive
- while FORDSK is formatting in the other drive.
-
- FORDSK a: /d16 /t42
- Formats the diskette in drive A: with 16 root directory entries (normal is
- 112) and 42 tracks (normal is 40). Specifying only 16 directory entries
- means that only one sector of the disk is needed for the directory, rather
- than the normal 7. DOS leaves a few free tracks, so usually formatting
- with a few extra tracks works okay. These options should make more disk
- space available, and indeed, the PC DOS 3.2 CHKDSK program says:
-
- 384000 bytes total disk space
- 384000 bytes available on disk
-
- 655360 bytes total memory
- 260208 bytes free
-
- This is an increase in usable disk disk space of about 20000 bytes.
- Unfortunately this is highly non-standard and probably won't work with all
- versions of DOS.
-
- Eric Tauck [72457,1557]
-
-
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- The Public (Software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. The P(s)L cannot de-
- bug programs over the telephone.
-
- Disks in the P(s)L are updated monthly, so if you did not get
- this disk directly from the P(s)L, you should be aware that
- the files in this set may no longer be the current versions.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 1,000+ disks in the library, call or write
-
- The Public (Software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
- (713) 721-6104 or (713) 721-5205
-